#define _CRT_SECURE_NO_WARNINGS
#include "Heap.h"

void Heaptest1()
{
	HPDataType arr[] = { 4,5,8,7,4,8,1,9,4,8,1,1 };
	Heap hp;
	HeapInit(&hp);
	for (int i = 0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		HeapPush(hp.a, arr[i]);
	}
	HeapPop(hp.a, hp.size, 0);
}


int main()
{
	Heaptest1();
	return 0;
}